package com.ehotting.mqbd.api.bean;

import com.ehotting.mqbd.api.enums.MsgStateEnum;

import java.util.Date;

public class MsgStateBean {

    private String agentId;

    private String msgId;

    private String serial;

    private MsgStateEnum state = MsgStateEnum.QUEUE;

    private Date date = new Date();

    public MsgStateBean(){
    }

    public MsgStateBean(String agentId, String msgId,String serial) {
        this.agentId = agentId;
        this.msgId = msgId;
        this.serial = serial;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public MsgStateEnum getState() {
        return state;
    }

    public void setState(MsgStateEnum state) {
        this.state = state;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }
}
